package com.geek.ch02.parameterType;

import com.geek.entity.User;
import com.geek.vo.UserQueryVO;

import java.time.LocalDate;
import java.util.HashMap;
import java.util.List;

public interface UserMapper {

    public List<User> findUserByBirth(LocalDate birthday);
    public User findUserByNamePwd(HashMap<String,String> map);
    public List<User> findUsers(UserQueryVO vo);
      //<!-- 作业2：根据姓名，更新用户的性别 -->
    public int updateByName(HashMap<String,String> map);

}
